Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cleanup #1665

Merged
merged 7 commits into from
Aug 13, 2023
Merged

Cleanup #1665

merged 7 commits into from
Aug 13, 2023

Conversation

dennisguse
Copy link
Member

Follow-up to removal of "race condition"-prevention: e9f24f6

Idea: crash as early as possible and stop hiding state errors.
NOTE: all operations should be happening in the same thread.

Some findings:

  • all executions happen in the same thread (yeah)
  • at least for tests
    • often LocationManager submits locations also LocationManager.removeUpdates() was called ending up in a destroyed TrackRecordingService
    • there might be more than one TrackRecordingService (used hashCode() to determine)
    • ... a dangling reference might a problem

More stuff will follow :D

@dennisguse dennisguse merged commit bf0aac7 into main Aug 13, 2023
3 checks passed
@dennisguse dennisguse deleted the cleanup branch August 13, 2023 19:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant